Optimal. Leaf size=41 \[ -\frac{a \coth ^3(c+d x)}{3 d}+\frac{a \coth (c+d x)}{d}-\frac{b \tanh ^{-1}(\cosh (c+d x))}{d} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0571616, antiderivative size = 41, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 3, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.143, Rules used = {3220, 3770, 3767} \[ -\frac{a \coth ^3(c+d x)}{3 d}+\frac{a \coth (c+d x)}{d}-\frac{b \tanh ^{-1}(\cosh (c+d x))}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3220
Rule 3770
Rule 3767
Rubi steps
\begin{align*} \int \text{csch}^4(c+d x) \left (a+b \sinh ^3(c+d x)\right ) \, dx &=\int \left (b \text{csch}(c+d x)+a \text{csch}^4(c+d x)\right ) \, dx\\ &=a \int \text{csch}^4(c+d x) \, dx+b \int \text{csch}(c+d x) \, dx\\ &=-\frac{b \tanh ^{-1}(\cosh (c+d x))}{d}+\frac{(i a) \operatorname{Subst}\left (\int \left (1+x^2\right ) \, dx,x,-i \coth (c+d x)\right )}{d}\\ &=-\frac{b \tanh ^{-1}(\cosh (c+d x))}{d}+\frac{a \coth (c+d x)}{d}-\frac{a \coth ^3(c+d x)}{3 d}\\ \end{align*}
Mathematica [A] time = 0.0302817, size = 76, normalized size = 1.85 \[ \frac{2 a \coth (c+d x)}{3 d}-\frac{a \coth (c+d x) \text{csch}^2(c+d x)}{3 d}+\frac{b \log \left (\sinh \left (\frac{c}{2}+\frac{d x}{2}\right )\right )}{d}-\frac{b \log \left (\cosh \left (\frac{c}{2}+\frac{d x}{2}\right )\right )}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.043, size = 36, normalized size = 0.9 \begin{align*}{\frac{1}{d} \left ( a \left ({\frac{2}{3}}-{\frac{ \left ({\rm csch} \left (dx+c\right ) \right ) ^{2}}{3}} \right ){\rm coth} \left (dx+c\right )-2\,b{\it Artanh} \left ({{\rm e}^{dx+c}} \right ) \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [B] time = 1.16159, size = 177, normalized size = 4.32 \begin{align*} -b{\left (\frac{\log \left (e^{\left (-d x - c\right )} + 1\right )}{d} - \frac{\log \left (e^{\left (-d x - c\right )} - 1\right )}{d}\right )} + \frac{4}{3} \, a{\left (\frac{3 \, e^{\left (-2 \, d x - 2 \, c\right )}}{d{\left (3 \, e^{\left (-2 \, d x - 2 \, c\right )} - 3 \, e^{\left (-4 \, d x - 4 \, c\right )} + e^{\left (-6 \, d x - 6 \, c\right )} - 1\right )}} - \frac{1}{d{\left (3 \, e^{\left (-2 \, d x - 2 \, c\right )} - 3 \, e^{\left (-4 \, d x - 4 \, c\right )} + e^{\left (-6 \, d x - 6 \, c\right )} - 1\right )}}\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] time = 2.02867, size = 1773, normalized size = 43.24 \begin{align*} \text{result too large to display} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.1937, size = 88, normalized size = 2.15 \begin{align*} -\frac{b \log \left (e^{\left (d x + c\right )} + 1\right )}{d} + \frac{b \log \left ({\left | e^{\left (d x + c\right )} - 1 \right |}\right )}{d} - \frac{4 \,{\left (3 \, a e^{\left (2 \, d x + 2 \, c\right )} - a\right )}}{3 \, d{\left (e^{\left (2 \, d x + 2 \, c\right )} - 1\right )}^{3}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]